package com.hnu.store.entity;

public class News extends BaseEntity {

  //
  private String id;
  private String title;
  private String pictureUrl;

  private String content;

  private String fileName;

  private String filePath;

  //  新闻链接
  private String url;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getPictureUrl() {
    return pictureUrl;
  }

  public void setPictureUrl(String pictureUrl) {
    this.pictureUrl = pictureUrl;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getFileName() {
    return fileName;
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }

  public String getFilePath() {
    return filePath;
  }

  public void setFilePath(String filePath) {
    this.filePath = filePath;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }
  public News() {
  }

  public News(String id, String title, String pictureUrl, String content, String fileName,
      String filePath,String url) {
    this.id = id;
    this.title = title;
    this.pictureUrl = pictureUrl;
    this.content = content;
    this.fileName = fileName;
    this.filePath = filePath;
    this.url = url;
  }

  @Override
  public String toString() {
    return "News{" +
        "id='" + id + '\'' +
        ", title='" + title + '\'' +
        ", pictureUrl='" + pictureUrl + '\'' +
        ", content='" + content + '\'' +
        ", fileName='" + fileName + '\'' +
        ", filePath='" + filePath + '\'' +
        ", url='" + url + '\'' +
        '}';
  }
}
